package com.neusoft.elm.dao;
import com.neusoft.elm.po.User;
public interface UserDao {
    //注册 添加用户
    public int saveUser(User user) throws Exception;
    //登录 依据手机号码（userid）和密码（password）查询用户
    public User getUserByIdByPass(String userId, String password) throws Exception;
    //查询手机号是否被注册
    //依据手机号码查询用户
    public User getUserById(String userId) throws Exception;
}